import Cookies from "js-cookie"

const USER_TOKEN_KEY="bkpx-2021-user-token"


export const setToken=token=>{
    Cookies.set(USER_TOKEN_KEY,token,{expires:7})
}

export const getToken=_=>{
  return  Cookies.get(USER_TOKEN_KEY)        
      
}

export const romeveToken=_=>{
    Cookies.remove(USER_TOKEN_KEY)

}